﻿<header class="header">
    <div class="left">
        <!--<a href="#/login"><i class="fa fa-angle-left"></i></a>-->
    </div>
    <div class="tit">
        <h2>注册账户</h2>
    </div>
    <div class="right"></div>
</header>
<div class="logo"><img src="img/logo2.png" /></div>
<form name="RegisterForm" ng-class="showError?'showerror':''">
    <div class="form_box">
        <div class="form_item">
            <input type="tel" placeholder="手机号" ng-model="register.telephone" ng-required="true" ng-pattern="/^[1]\d{10}$/" />
        </div>
        <div class="form_item">
            <input type="text" placeholder="验证码" ng-model="register.code" ng-required="true" />
            <a id="sendCodeBtn"  class="getvcode" ng-click="SendMsg(register.telephone)" >获取</a>
        </div>
        <div class="form_item">
            <input type="password" name="ps1" ng-required="true" placeholder="输入密码" ng-model="register.password" />
        </div>
        <!--<div class="form_item">
            <input type="password" name="ps2" placeholder="再次输入密码" />
        </div>-->
        <div class="form_btn">
            <a class="login_btn" ng-click="Regitster(register)">注册</a>
        </div>
    </div>
</form>
